package models

import "gorm.io/gorm"

type Student struct {
	gorm.Model
	Name   string  `gorm:"type:varchar(20);not null;comment:姓名"`
	Age    int     `gorm:"type:tinyint(3);not null;comment:年龄"`
	Gender bool    `gorm:"type:boolean;not null;comment:性别（true：男，false：女）"`
	Email  *string `gorm:"type:varchar(64);comment:邮箱"`
}
